package com.ws.soa.consumer.payment.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * WcClientConfiguration
 *
 * @author luobosi@2dfire.com
 * @since 2019-03-02
 */
@Data
@Component("apacheBuilderProperties")
@ConfigurationProperties(prefix = "http")
public class ApacheBuilderConfig {

    private int connectionRequestTimeout;

    private int connectionTimeout;

    private int soTimeout;

    private int idleConnTimeout;

    private int checkWaitTime;

    private int maxConnPerHost;

    private int maxTotalConn;

}

